home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9715 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.chevron.com!news
  2. From: gacwra@hsun13.hou281.chevron.com (C.W.Racer)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Newbie doesn't understand compiler error
  5. Date: 12 Mar 1996 21:56:11 GMT
  6. Organization: Chevron
  7. Sender: gacwra@hsun13 (C.W.Racer)
  8. Message-ID: <4i4rtr$fje@hsun27.chevron.com>
  9. References: <Pine.SUN.3.91.960301153010.11258B-100000@pioneer.uspto.gov> <4hoffl$l74@aphex.direct.ca>  <Pine.SOL.3.90.960308043019.27804G-100000@eddie>
  10. NNTP-Posting-Host: hsun13.hou281.chevron.com
  11.  
  12. In article <Pine.SOL.3.90.960308043019.27804G-100000@eddie>, Darrell Grainger <a378grai@cdf.toronto.edu> writes:
  13. |> On 8 Mar 1996, Ed Toivanen wrote:
  14. |> 
  15. |> > >main( int argv, char *argc[] )  <<- Compiler states "Syntax error at or near
  16. |> > 
  17. My guess is that you are on a Sun platform using 'cc' instead of 'acc'.
  18. This is the message the Sun 'cc' (pre-ANSI) compiler gives when it
  19. encounters this ANSI declaration.
  20.  
  21. -- 
  22. | Chick Racer                     Chevron Petroleum Technology Co. |
  23. | (713) 596-2430                  P.O. Box 42832                   |
  24. | gacwra@chevron.com              Houston, Tx 77242-2832           |
  25. | 4119 Hayes Rd.                                                   |
  26.